#ifndef MIDIHELPER_H
#define MIDIHELPER_H

#include "allegro.h"
#include "qnote.h"
#include <QString>
#include <QList>

namespace midiHelper {

	QList<Alg_event_ptr> getMarkEvents(Alg_seq_ptr seq);
	QList<QNote> getNoteEvents(Alg_seq_ptr seq);
	bool compare(const Alg_event_ptr s1, const Alg_event_ptr s2);
	QString ticksToMBT(Alg_seq_ptr new_seq, double ticks);
	QString secondsToHMSF(double timeInSeconds);

} // midiHelper

#endif // MIDIHELPER_H